; ; DrawGridLayer::timeForPos from 0x36c118 to 0x36c180 (104 bytes) ; ; 7 xrefs: ; > LevelEditorLayer::timeForPos @ 0x36c1c0 ; > LevelEditorLayer::updateGameObjects @ 0x375c74 ; > LevelEditorLayer::updateGameObjects @ 0x375cf8 ; > EditorUI::onPlayback @ 0x37dae2 ; > EditorUI::onPlayback @ 0x37db0e ; > EditorPauseLayer::init @ 0x3ff8b6 ; > EditorPauseLayer::saveLevel @ 0x4013a8 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; PUSH.W {R4-R8,LR} ; +0x0, 0x36c118 SUB SP, SP, #0x28 ; +0x4, 0x36c11c LDR R4, =(__stack_chk_guard_ptr - 0x36C12A) ; +0x6, 0x36c11e MOV R8, R3 ; +0x8, 0x36c120 ADD R6, SP, #0x28+var_C ; +0xa, 0x36c122 MOV R5, R0 ; +0xc, 0x36c124 ADD R4, PC; __stack_chk_guard_ptr ; +0xe, 0x36c126 LDR R4, [R4]; __stack_chk_guard ; +0x10, 0x36c128 MOV R7, R2 ; +0x12, 0x36c12a MOV R0, R6; this ; +0x14, 0x36c12c LDR R3, [R4] ; +0x16, 0x36c12e STR R3, [SP,#0x28+var_4] ; +0x18, 0x36c130 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x1a, 0x36c132 LDR.W R3, [R5,#0x17C] ; +0x1e, 0x36c136 MOV R0, R6 ; +0x22, 0x36c13a LDR.W R1, [R5,#0x194] ; +0x24, 0x36c13c LDR.W R2, [R3,#0x8C0] ; +0x28, 0x36c140 LDRB.W R3, [SP,#0x28+arg_0] ; +0x2c, 0x36c144 STR.W R8, [SP,#0x28+var_28] ; +0x30, 0x36c148 STR R3, [SP,#0x28+var_24] ; +0x34, 0x36c14c LDRB.W R3, [R2,#0x119] ; +0x36, 0x36c14e STR R3, [SP,#0x28+var_20] ; +0x3a, 0x36c152 LDRB.W R3, [SP,#0x28+arg_4] ; +0x3c, 0x36c154 STR R3, [SP,#0x28+var_1C] ; +0x40, 0x36c158 LDRB.W R3, [SP,#0x28+arg_8] ; +0x42, 0x36c15a STR R3, [SP,#0x28+var_18] ; +0x46, 0x36c15e LDR R3, [SP,#0x28+arg_C] ; +0x48, 0x36c160 STR R3, [SP,#0x28+var_14] ; +0x4a, 0x36c162 MOV R3, R7 ; +0x4c, 0x36c164 LDR.W R2, [R2,#0x110] ; +0x4e, 0x36c166 BL _ZN10LevelTools10timeForPosEN7cocos2d7CCPointEPNS0_7CCArrayEiiibbbbi; LevelTools::timeForPos(cocos2d::CCPoint,cocos2d::CCArray *,int,int,int,bool,bool,bool,bool,int) ; +0x52, 0x36c16a LDR R2, [SP,#0x28+var_4] ; +0x56, 0x36c16e LDR R3, [R4] ; +0x58, 0x36c170 CMP R2, R3 ; +0x5a, 0x36c172 BEQ loc_36C17A ; +0x5c, 0x36c174 BLX __stack_chk_fail ; +0x5e, 0x36c176 ADD SP, SP, #0x28 ; '(' ; +0x62, 0x36c17a POP.W {R4-R8,PC} ; +0x64, 0x36c17c