// // sub_10003E4E8 from 0x10003e4e8 to 0x10003e55c (116 bytes) // // 1 xrefs: // > CCCounterLabel::setTargetCount @ 0x10003e5b4 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 10:57:35 +0000 // __int64 __fastcall sub_10003E4E8(__int64 result) { int v1; // w8 int v2; // w9 bool v3; // vf int v4; // w9 float v5; // s0 if ( *(_BYTE *)(result + 528) == 1 ) { v1 = *(_DWORD *)(result + 524); v2 = *(_DWORD *)(result + 520); v3 = __OFSUB__(v2, v1); v4 = v2 - v1; if ( !((v4 < 0) ^ v3 | (v4 == 0)) ) { v5 = (float)v4; if ( (float)v4 > (float)*(int *)(result + 516) ) v5 = (float)*(int *)(result + 516); LABEL_10: *(_DWORD *)(result + 524) = (int)(float)(v5 + (float)v1); return sub_10003E5CC(result); } if ( v4 < 0 != v3 ) { v5 = (float)v4; if ( (float)v4 < (float)*(int *)(result + 516) ) v5 = (float)*(int *)(result + 516); goto LABEL_10; } *(_BYTE *)(result + 528) = 0; if ( (*(_BYTE *)(result + 536) & 1) == 0 ) return cocos2d::CCNode::unscheduleAllSelectors(result); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source